package edu.sctu.practice.class01.wulixia.month11_wlx.test24;

/**
 * Created by wulixia on 2015/11/12.
 */
 abstract class Door {

    public void openDoor(){
        System.out.println("开门");
    }

    public void closeDoor(){
        System.out.println("关门");
    }
}
//拥有所有门的共性，开门openDoor()和关门closeDoor()